<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <script>
            let num1=3;
            let num2=2;
            console.log(num1+num2);
            console.log(num1-num2);
            console.log(num1*num2);
            console.log(num1/num2);
            console.log(num1%num2);
            console.log(num1++);//先执行，后加1
            console.log(++num2);//先加1，再执行
            //三目运算符
            console.log(num1==num2?"等于":"不等于");

            // ==比较内容，不关心类型
            console.log(1=="1");

            // ===全等于，恒等于
            //===不仅比较内容，还要比较类型
            console.log(1==="1");
            //20的4次方
            console.log(20**4);
        </script>
    </head>
    <body>
        
    </body>
</html>